#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cmath>
using namespace std;

int main()
{
    freopen("in.txt", "r", stdin);
    //freopen("out.txt", "w", stdout);
    int n;
    while(cin>>n && n)
    {
        if(n%2==0) cout<<"No Solution!"<<endl;
        else cout<<n-1<<endl;
    }
    return 0;
}
